﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="portView.aspx.cs" Inherits="CTEA_INDIA.portView"
    Theme="Default" %>


<%@ Register Src="~/MenuList.ascx" TagName="Menu" TagPrefix="m1" %>
<%@ Register Src="~/Header.ascx" TagName="header" TagPrefix="uc" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Artist Portfolio</title>
    <link href="CSS/Stylsheet.css" rel="stylesheet" type="text/css" />
    <link href="CSS/MyStyle.css" rel="stylesheet" type="text/css" />
    <link href="CSS/jquery-ui-1.7.2.custom.css" rel="stylesheet" type="text/css" />
    <link href="CSS/lightbox.css" rel="stylesheet" type="text/css" />
    <script src="JS/jquery-1.3.2.js" type="text/javascript"></script>
    <script src="JS/jquery-ui-1.7.2.custom.min.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            // Tabs
            $('#tabs').tabs({ selected: 0 });
            $('#tabs').bind('tabsshow', function (event, ui) {
                var tabSelected = "#tab" + ui.index + "Selected";
                $(tabSelected).html("isClicked");
            });


            $('#menu_lnkArtistPortfolio').css({ color: '#DBA615' });



            //hover states on the static widgets
            $('#dialog_link, ul#icons li').hover(
					function () { $(this).addClass('ui-state-hover'); },
					function () { $(this).removeClass('ui-state-hover'); }
				);
        });
    </script>
    <script type="text/javascript">







        function SearchCrit(dropdown) {
            if (dropdown.selectedIndex == 0) {

                document.getElementById("TdSrchLoc").style.visibility = "collapse";
                document.getElementById("TdSrchName").style.visibility = "collapse";
            }
            else if (dropdown.selectedIndex == 1) {
                document.getElementById("TdSrchLoc").style.visibility = "collapse";
                document.getElementById("TdSrchName").style.visibility = "Visible";
                //document.getElementById("TdSrchName").style.margin = "-30px 0px 0px 240px";

            }
            else {
                document.getElementById("TdSrchLoc").style.visibility = "Visible";
                //document.getElementById("TdSrchLoc").style.margin = "0px 0px 0px -180px";

                document.getElementById("TdSrchName").style.visibility = "collapse";
            }
        }


        function isNumberKey(evt) {
            var charCode = (evt.which) ? evt.which : event.keyCode
            if (charCode > 31 && (charCode < 48 || charCode > 57))
                return false;
        }
    </script>
    <style type="text/css">
        .newrowTr
        {
            height: 100;
        }
        
        .newcolTd
        {
            height: 120px;
            width: 120px;
            border: 1px solid #F6A828;
            text-align: center;
            color: #F6A828;
            font-size : 0.7em ;
            margin-right :5px ; 
            margin-bottom : 3px ;
        }
        
        .imgnewIm
        {
            width: 100px;
            height: 100px;
        }
        
        .newAA
        {
            color: #F6A828;
            text-decoration: none;
        }
        
        .newAA:hover
        {
            color: #1C94C4;
            text-decoration: none;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
    </asp:ToolkitScriptManager>
    <div>
        <uc:header runat="server" ID="aa" />
    </div>
    <div>
        <center>
            <div>
                <table border="0">
                    <tr>
                        <td valign="top" align="center">
                            <table class="MainDiv" width="900px">
                                <tr>
                                    <td valign="top">
                                        <m1:Menu runat="server" ID="menu" />
                                    </td>
                                    <td valign="top" align="left">
                                        <table cellpadding="0px" cellspacing="0px" border="0" style="border: 1px; border-color: #ffff"
                                            width="600px">
                                            <tr>
                                                <td colspan="2">
                                                    <asp:Label ID="Label1" runat="server" Text="Artist Portfolio" CssClass="headingpage"></asp:Label>
                                                    <div class="imgstrip">
                                                    </div>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <div id="tabs">
                                                        <ul>
                                                            <li><a href="#tabs-1">View All</a></li>
                                                        </ul>
                                                        <div id="tabs-1" style="text-align: left; overflow: auto;">
                                                            <input type="hidden" id="tab1Selected" />
                                                            <div id="Div2gg" style="text-align: left;">
                                                                <table width="100%" border="0">
                                                                    <tr>
                                                                        <td colspan="2">
                                                                            <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="upPnlCandidate">
                                                                                <ProgressTemplate>
                                                                                    <center>
                                                                                        <div id="pageLoading">
                                                                                            <center>
                                                                                                <img src="Images/loading123.gif" style="z-index: 5000; top: 50%; left: 50%; position: absolute;"
                                                                                                    alt="loading" />
                                                                                                <div style="color: White; font-size: 18px; top: 50%; left: 50%;">
                                                                                                    Loading...
                                                                                                </div>
                                                                                            </center>
                                                                                            <div id="transparentBg" class="transparentBg">
                                                                                            </div>
                                                                                        </div>
                                                                                    </center>
                                                                                </ProgressTemplate>
                                                                            </asp:UpdateProgress>
                                                                            <asp:UpdatePanel ID="upPnlCandidate" runat="server">
                                                                                <ContentTemplate>
                                                                                    <table border="0" width="100%">
                                                                                       
                                                                                        <tr>
                                                                                            <td valign="top" width="480px" align="center">
                                                                                                <!--modal view !-->

                                                                                                  <asp:DataList ID="DataList1" runat="server" DataKeyField="Artist_Card_Id">
                                                                                                    <ItemTemplate>
                                                                                                        <div style="width: 500px; height: 130px; float: left; border: 1px solid black; padding: 10px;
                                                                                                            margin-bottom: 5px;">
                                                                                                            <div style="float: left; width: 150px; height: 130px;">
                                                                                                               
                                                                                                            <img style="width : 120px ; height: 120px;" src="ProfilePhoto/<%# Eval("IDCardPic") %>""/>
                                                                                                            </div>
                                                                                                            <div style="float : left ; ">
                                                                                                            <b><%# Eval("Name") %> , <%# Eval("Location") %></b>
                                                                                                             <br />Email : <%# Eval("Email") %> 
                                                                                                             <br />Address : <%# Eval("Address") %>
                                                                                                            </div>
                                                                                                            <div  style="float : right ; text-align : left ;">
                                                                                                            <asp:LinkButton ID="LinkButton1" runat="server" OnClick="LinkButton1_Click" CausesValidation="false">View</asp:LinkButton>
                                                                                                            <asp:LinkButton ID="LinkButton2" runat="server" OnClick="lnkEdit_Click" CausesValidation="false">Edit</asp:LinkButton>
                                                                                                            <asp:LinkButton ID="LinkButton3" runat="server" OnClick="lnkDelete_Click" CausesValidation="false">Delete</asp:LinkButton>
                                                                                                            </div>
                                                                                                        </div>
                                                                                                    </ItemTemplate>
                                                                                                </asp:DataList>
                                                                                                
                                                                                                <asp:DataList ID="DataListPaging" runat="server" RepeatDirection="Horizontal" onitemcommand="DataListPaging_ItemCommand" onitemdatabound="DataListPaging_ItemDataBound">
                                                                                                <ItemTemplate>
                                                                                                <asp:LinkButton ID="Pagingbtn" runat="server" CommandArgument='<%# Eval("PageIndex") %>' CommandName="newpage" Text='<%# Eval("PageText") %> '></asp:LinkButton> 
                                                                                                </ItemTemplate>
                                                                                                </asp:DataList> 

                                                                                                 <asp:LinkButton ID="lnkFirst" runat="server" onclick="lnkFirst_Click">First |</asp:LinkButton> 
                                                                                                 <asp:LinkButton ID="lnkPrevious" runat="server" onclick="lnkPrevious_Click">Previous |</asp:LinkButton> 
                                                                                                 <asp:LinkButton ID="lnkNext" runat="server" onclick="lnkNext_Click">Next |</asp:LinkButton> 
                                                                                                 <asp:LinkButton ID="lnkLast" runat="server" onclick="lnkLast_Click">Last |</asp:LinkButton> 
                                                                                                 <asp:Label ID="lblpage" runat="server" Text=""></asp:Label>
      
                                                                                                <asp:Button ID="btnHiddenPerson" runat="server" Style="display: none" />
                                                                                                <asp:GridView ID="gdArtistCard" Visible="false" runat="server" BackColor="White" Width="100%" BorderColor="#DEDFDE"
                                                                                                    DataKeyNames="Artist_Card_Id" BorderStyle="None" BorderWidth="1px" CellPadding="4"
                                                                                                    ForeColor="Black" GridLines="Vertical" AllowPaging="True" AutoGenerateColumns="False"
                                                                                                     EmptyDataText="No data found.">
                                                                                                    <AlternatingRowStyle BackColor="White" />
                                                                                                    <Columns>
                                                                                                        <asp:BoundField HeaderText="Name" DataField="Name" ItemStyle-Width="120px">
                                                                                                            <ItemStyle Width="200px" />
                                                                                                        </asp:BoundField>
                                                                                                        <asp:BoundField HeaderText="Location" DataField="Location" ItemStyle-Width="180">
                                                                                                            <ItemStyle Width="200px" />
                                                                                                        </asp:BoundField>
                                                                                                        <asp:BoundField HeaderText="Category" DataField="Category" ItemStyle-Width="80">
                                                                                                            <ItemStyle Width="80px" />
                                                                                                        </asp:BoundField>
                                                                                                        <asp:TemplateField>
                                                                                                            <ItemTemplate>
                                                                                                                <asp:LinkButton ID="lnkView" runat="server" Text="View" ForeColor="#0066FF" ItemStyle-Width="10"
                                                                                                                    OnClick="lnkView_Click" CausesValidation="false"></asp:LinkButton>
                                                                                                            </ItemTemplate>
                                                                                                        </asp:TemplateField>
                                                                                                        <asp:TemplateField>
                                                                                                            <ItemTemplate>
                                                                                                                <asp:LinkButton ID="lnkEdit" runat="server" Text="Edit" ForeColor="#0066FF" ItemStyle-Width="10"
                                                                                                                    OnClick="lnkEdit_Click" CausesValidation="false"></asp:LinkButton>
                                                                                                                <asp:LinkButton ID="lnkHidden" runat="server" ForeColor="#0066FF"></asp:LinkButton>
                                                                                                            </ItemTemplate>
                                                                                                        </asp:TemplateField>
                                                                                                        <asp:TemplateField>
                                                                                                            <ItemTemplate>
                                                                                                                <asp:LinkButton CausesValidation="false" OnClick="lnkDelete_Click" ID="lnkDelete"
                                                                                                                    runat="server" Text="Delete" ForeColor="#0066FF" ItemStyle-Width="10"></asp:LinkButton>
                                                                                                                <asp:LinkButton ID="lnkApHidden" runat="server" ForeColor="#0066FF"></asp:LinkButton>
                                                                                                            </ItemTemplate>
                                                                                                        </asp:TemplateField>
                                                                                                        <asp:TemplateField>
                                                                                                            <ItemTemplate>
                                                                                                                <asp:LinkButton CausesValidation="false" OnClick="ViewCard" ID="lnkViewCard" runat="server"
                                                                                                                    Text="View Card" ForeColor="#0066FF" ItemStyle-Width="10"></asp:LinkButton>
                                                                                                            </ItemTemplate>
                                                                                                        </asp:TemplateField>
                                                                                                    </Columns>
                                                                                                    <EmptyDataRowStyle CssClass="errorSpan" Font-Bold="True" Font-Size="15pt" ForeColor="Red" />
                                                                                                    <FooterStyle BackColor="#CCCC99" />
                                                                                                    <HeaderStyle BackColor="#021D48" Font-Bold="True" ForeColor="white" />
                                                                                                    <PagerStyle ForeColor="#CCCCCC" HorizontalAlign="right" BackColor="#843808" />
                                                                                                    <SelectedRowStyle BackColor="#000099" ForeColor="White" Font-Bold="True" />
                                                                                                    <AlternatingRowStyle BackColor="#edf7fa" />
                                                                                                </asp:GridView>
                                                                                                <asp:ModalPopupExtender ID="lnkView_ModalPopupExtender" runat="server" TargetControlID="btnHiddenPerson"
                                                                                                    CancelControlID="cancelBtnView" PopupControlID="pnlLnkView" BackgroundCssClass="modalBackground">
                                                                                                </asp:ModalPopupExtender>
                                                                                                <asp:Panel ID="pnlLnkView" runat="server">
                                                                                                    <table width="600px" class="ModalPopup" border="0" cellpadding="3" cellspacing="2"
                                                                                                        style="margin-left: 50px">
                                                                                                        <tr>
                                                                                                            <td colspan="4">
                                                                                                                <div style="float: right">
                                                                                                                    <img src="Images/newsletter_close.PNG" alt="close" runat="server" id="cancelBtnView" /></div>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td colspan="4" class="gdheadingNew">
                                                                                                                Artist Portfolio
                                                                                                                <hr />
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td colspan="4">
                                                                                                                <fieldset>
                                                                                                                    <legend>Personal Details</legend>
                                                                                                                    <table>
                                                                                                                        <tr>
                                                                                                                            <td>
                                                                                                                                <tr>
                                                                                                                                    <td style="width: 160px;" class="tdheader modalCandidate">
                                                                                                                                        Name:
                                                                                                                                    </td>
                                                                                                                                    <td width="150px" class="modalCandidate ">
                                                                                                                                        <asp:Label ID="lblViewName" runat="server"></asp:Label>
                                                                                                                                    </td>
                                                                                                                                </tr>
                                                                                                                                <tr id="Tr1" runat="server">
                                                                                                                                    <td class="tdheader modalCandidate">
                                                                                                                                        Location:
                                                                                                                                    </td>
                                                                                                                                    <td class="modalCandidate">
                                                                                                                                        <asp:Label ID="lblViewLocation" runat="server"></asp:Label>
                                                                                                                                    </td>
                                                                                                                                </tr>
                                                                                                                                <tr id="Tr2" runat="server">
                                                                                                                                    <td class="tdheader modalCandidate">
                                                                                                                                        Artist Type:
                                                                                                                                    </td>
                                                                                                                                    <td class="modalCandidate">
                                                                                                                                        <asp:Label ID="lblViewType" runat="server"></asp:Label>
                                                                                                                                    </td>
                                                                                                                                </tr>
                                                                                                                                <tr id="trAdd" runat="server">
                                                                                                                                    <td class="tdheader modalCandidate">
                                                                                                                                        Category:
                                                                                                                                    </td>
                                                                                                                                    <td class="modalCandidate">
                                                                                                                                        <asp:Label ID="lblViewCategory" runat="server"></asp:Label>
                                                                                                                                    </td>
                                                                                                                                </tr>
                                                                                                                                <tr id="tr3" runat="server">
                                                                                                                                    <td class="tdheader modalCandidate">
                                                                                                                                        Date of Birth:
                                                                                                                                    </td>
                                                                                                                                    <td class="modalCandidate">
                                                                                                                                        <asp:Label ID="lblViewDOB" runat="server"></asp:Label>
                                                                                                                                    </td>
                                                                                                                                </tr>
                                                                                                                                <tr id="tr4" runat="server">
                                                                                                                                    <td class="tdheader modalCandidate">
                                                                                                                                        Valid From:
                                                                                                                                    </td>
                                                                                                                                    <td class="modalCandidate">
                                                                                                                                        <asp:Label ID="lblViewVF" runat="server"></asp:Label>
                                                                                                                                    </td>
                                                                                                                                </tr>
                                                                                                                                <tr id="tr5" runat="server">
                                                                                                                                    <td class="tdheader modalCandidate">
                                                                                                                                        Valid Till:
                                                                                                                                    </td>
                                                                                                                                    <td class="modalCandidate">
                                                                                                                                        <asp:Label ID="lblViewVT" runat="server"></asp:Label>
                                                                                                                                    </td>
                                                                                                                                </tr>
                                                                                                                                <tr id="tr6" runat="server">
                                                                                                                                    <td class="tdheader modalCandidate">
                                                                                                                                        Email:
                                                                                                                                    </td>
                                                                                                                                    <td class="modalCandidate">
                                                                                                                                        <asp:Label ID="lblViewEMail" runat="server"></asp:Label>
                                                                                                                                    </td>
                                                                                                                                </tr>
                                                                                                                                <tr id="tr9" runat="server">
                                                                                                                                    <td class="tdheader modalCandidate">
                                                                                                                                        Amount:
                                                                                                                                    </td>
                                                                                                                                    <td class="modalCandidate">
                                                                                                                                        <asp:Label ID="lblViewAmount" runat="server"></asp:Label>
                                                                                                                                    </td>
                                                                                                                                </tr>
                                                                                                                                <tr id="tr7" runat="server">
                                                                                                                                    <td class="tdheader modalCandidate">
                                                                                                                                        Photo Id Proof:
                                                                                                                                    </td>
                                                                                                                                    <td class="modalCandidate">
                                                                                                                                        <asp:Label ID="lblViewIdProof" runat="server"></asp:Label>
                                                                                                                                    </td>
                                                                                                                                </tr>
                                                                                                                                <tr id="tr8" runat="server">
                                                                                                                                    <td class="tdheader modalCandidate">
                                                                                                                                        Address Proof:
                                                                                                                                    </td>
                                                                                                                                    <td class="modalCandidate">
                                                                                                                                        <asp:Label ID="lblViewAddrProof" runat="server"></asp:Label>
                                                                                                                                    </td>
                                                                                                                                </tr>
                                                                                                                            </td>
                                                                                                                        </tr>
                                                                                                                    </table>
                                                                                                                </fieldset>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td colspan="4">
                                                                                                                <fieldset>
                                                                                                                    <legend>References</legend>
                                                                                                                    <table>
                                                                                                                        <tr>
                                                                                                                            <td>
                                                                                                                                <tr>
                                                                                                                                    <td class="tdheader modalCandidate">
                                                                                                                                        Reference Name:
                                                                                                                                    </td>
                                                                                                                                    <td class="modalCandidate">
                                                                                                                                        <asp:Label ID="lblViewRefName" runat="server"></asp:Label>
                                                                                                                                    </td>
                                                                                                                                </tr>
                                                                                                                                <tr>
                                                                                                                                    <td class="tdheader modalCandidate">
                                                                                                                                        Reference Contact:
                                                                                                                                    </td>
                                                                                                                                    <td class="modalCandidate">
                                                                                                                                        <asp:Label ID="lblVIewRefCon" runat="server"></asp:Label>
                                                                                                                                    </td>
                                                                                                                                </tr>
                                                                                                                            </td>
                                                                                                                        </tr>
                                                                                                                    </table>
                                                                                                                </fieldset>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td colspan="4">
                                                                                                                <asp:PlaceHolder ID="phdImgGallry" runat="server"></asp:PlaceHolder>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td>
                                                                                                                <div id="loadarea2">
                                                                                                                </div>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                    </table>
                                                                                                </asp:Panel>
                                                                                            </td>
                                                                                        </tr>
                                                                                        <tr>
                                                                                            <td>
                                                                                                <asp:Button ID="btnHiddenPerson1" runat="server" Style="display: none" />
                                                                                                <asp:ModalPopupExtender ID="LnkEditPopUp" runat="server" TargetControlID="btnHiddenPerson1"
                                                                                                    CancelControlID="cancelBtnEdit2" PopupControlID="pnlLnkEdit" BackgroundCssClass="modalBackground">
                                                                                                </asp:ModalPopupExtender>
                                                                                                <asp:Panel ID="pnlLnkEdit" runat="server">
                                                                                                    <table width="600px" class="ModalPopup" border="0" cellpadding="3" cellspacing="2"
                                                                                                        style="margin-left: 50px">
                                                                                                        <tr>
                                                                                                            <td colspan="4">
                                                                                                                <div style="float: right">
                                                                                                                    <img src="Images/newsletter_close.PNG" alt="close" runat="server" id="cancelBtnEdit2" /></div>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td colspan="4">
                                                                                                                <table>
                                                                                                                    <tr>
                                                                                                                        <td colspan="4">
                                                                                                                            <fieldset>
                                                                                                                                <legend>Personal Details</legend>
                                                                                                                                <table width="450px" border="0" cellpadding="3" cellspacing="0" style="margin-left: 20px">
                                                                                                                                    <tr>
                                                                                                                                        <td style="width: 180px;" class="Label" valign="top" align="left">
                                                                                                                                            Name<span class="SpnColor">*</span>
                                                                                                                                        </td>
                                                                                                                                        <td align="left">
                                                                                                                                            <asp:TextBox ID="txtEdtName" runat="server" MaxLength="50" Width="150px"></asp:TextBox>
                                                                                                                                            <asp:RequiredFieldValidator ValidationGroup="edit" ID="RequiredFieldValidator12"
                                                                                                                                                runat="server" Display="None" ControlToValidate="txtEdtName" ErrorMessage="Please, Enter Name"
                                                                                                                                                CssClass="validators"></asp:RequiredFieldValidator>
                                                                                                                                            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender13" runat="server" TargetControlID="RequiredFieldValidator12">
                                                                                                                                            </asp:ValidatorCalloutExtender>
                                                                                                                                        </td>
                                                                                                                                    </tr>
                                                                                                                                    <tr>
                                                                                                                                        <td class="Label" align="left">
                                                                                                                                            Location
                                                                                                                                        </td>
                                                                                                                                        <td align="left">
                                                                                                                                            <asp:DropDownList ID="cmbEdtLocation" runat="server" onchange="isCategory()">
                                                                                                                                            </asp:DropDownList>
                                                                                                                                            <%--<asp:TextBox ID="txtLocation" runat="server" Width="150px"></asp:TextBox>--%>
                                                                                                                                        </td>
                                                                                                                                    </tr>
                                                                                                                                    <tr>
                                                                                                                                        <td class="Label" valign="top" align="left">
                                                                                                                                            Group of Artist <span class="SpnColor">*</span>
                                                                                                                                        </td>
                                                                                                                                        <td align="left">
                                                                                                                                            <asp:TextBox ID="txtEdtGroup" runat="server" Height="56px" TextMode="MultiLine"></asp:TextBox>
                                                                                                                                            <asp:RequiredFieldValidator ValidationGroup="edit" ID="RequiredFieldValidator13"
                                                                                                                                                runat="server" Display="None" ControlToValidate="txtEdtGroup" ErrorMessage="Please, Enter Group"
                                                                                                                                                CssClass="validators"></asp:RequiredFieldValidator>
                                                                                                                                            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender14" runat="server" TargetControlID="RequiredFieldValidator13">
                                                                                                                                            </asp:ValidatorCalloutExtender>
                                                                                                                                        </td>
                                                                                                                                    </tr>
                                                                                                                                    <tr>
                                                                                                                                        <td class="Label" align="left">
                                                                                                                                            Type
                                                                                                                                        </td>
                                                                                                                                        <td align="left">
                                                                                                                                            <asp:DropDownList ID="cmbEdtType" runat="server">
                                                                                                                                                <asp:ListItem>Male</asp:ListItem>
                                                                                                                                                <asp:ListItem>Female</asp:ListItem>
                                                                                                                                                <asp:ListItem>Child</asp:ListItem>
                                                                                                                                            </asp:DropDownList>
                                                                                                                                            <%--<asp:TextBox ID="txtLocation" runat="server" Width="150px"></asp:TextBox>--%>
                                                                                                                                        </td>
                                                                                                                                    </tr>
                                                                                                                                    <tr>
                                                                                                                                        <td class="Label" align="left">
                                                                                                                                            Category
                                                                                                                                        </td>
                                                                                                                                        <td align="left">
                                                                                                                                            <asp:DropDownList ID="cmbEdtCategory" runat="server" onchange="isCategoryEdt()">
                                                                                                                                                <asp:ListItem>Director</asp:ListItem>
                                                                                                                                                <asp:ListItem>Technician</asp:ListItem>
                                                                                                                                                <asp:ListItem>Artist</asp:ListItem>
                                                                                                                                                <asp:ListItem>Script Writer</asp:ListItem>
                                                                                                                                                <asp:ListItem>Lyrics Writer</asp:ListItem>
                                                                                                                                                <asp:ListItem>Music Director</asp:ListItem>
                                                                                                                                                <asp:ListItem>Singer</asp:ListItem>
                                                                                                                                                <asp:ListItem>Dance Director/Choreographer</asp:ListItem>
                                                                                                                                                <asp:ListItem>Artist Manager/Secretary</asp:ListItem>
                                                                                                                                                <asp:ListItem>Media planning/Advertising Comapany</asp:ListItem>
                                                                                                                                                <asp:ListItem>TV Channel</asp:ListItem>
                                                                                                                                                <asp:ListItem>Film Industry Associate</asp:ListItem>
                                                                                                                                                <asp:ListItem>Casting Agency</asp:ListItem>
                                                                                                                                                <asp:ListItem>Product Partner</asp:ListItem>
                                                                                                                                            </asp:DropDownList>
                                                                                                                                            <%--<asp:TextBox ID="txtLocation" runat="server" Width="150px"></asp:TextBox>--%>
                                                                                                                                        </td>
                                                                                                                                    </tr>
                                                                                                                                    <tr style="visibility: collapse;" id="EdtTechnical">
                                                                                                                                        <td class="Label" align="left">
                                                                                                                                            Technician Type
                                                                                                                                        </td>
                                                                                                                                        <td align="left">
                                                                                                                                            <asp:DropDownList ID="cmbEdtTechType" runat="server">
                                                                                                                                                <asp:ListItem>Camera Man</asp:ListItem>
                                                                                                                                                <asp:ListItem>Light Man</asp:ListItem>
                                                                                                                                            </asp:DropDownList>
                                                                                                                                            <%--<asp:TextBox ID="txtLocation" runat="server" Width="150px"></asp:TextBox>--%>
                                                                                                                                        </td>
                                                                                                                                    </tr>
                                                                                                                                    <tr>
                                                                                                                                        <td class="Label" align="left">
                                                                                                                                            Birth Date: <span class="SpnColor">*</span>
                                                                                                                                        </td>
                                                                                                                                        <td>
                                                                                                                                            <asp:TextBox ID="txtEdtBDate" runat="server"></asp:TextBox>
                                                                                                                                            <asp:CalendarExtender ID="CalendarExtender4" runat="server" TargetControlID="txtEdtBDate">
                                                                                                                                            </asp:CalendarExtender>
                                                                                                                                            <asp:RequiredFieldValidator ValidationGroup="edit" ID="RequiredFieldValidator14"
                                                                                                                                                runat="server" Display="None" ControlToValidate="txtEdtBDate" ErrorMessage="Please, Enter Date of birth"
                                                                                                                                                CssClass="validators"></asp:RequiredFieldValidator>
                                                                                                                                            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender15" runat="server" TargetControlID="RequiredFieldValidator14">
                                                                                                                                            </asp:ValidatorCalloutExtender>
                                                                                                                                        </td>
                                                                                                                                    </tr>
                                                                                                                                    <tr>
                                                                                                                                        <td class="Label" align="left">
                                                                                                                                            Valid From: <span class="SpnColor">*</span>
                                                                                                                                        </td>
                                                                                                                                        <td>
                                                                                                                                            <asp:TextBox ID="txtEdtValidFrom" runat="server"></asp:TextBox>
                                                                                                                                            <asp:CalendarExtender ID="CalendarExtender5" runat="server" TargetControlID="txtEdtValidFrom">
                                                                                                                                            </asp:CalendarExtender>
                                                                                                                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator15" runat="server" Display="None"
                                                                                                                                                ControlToValidate="txtEdtValidFrom" ErrorMessage="Please, Enter Valid from date"
                                                                                                                                                CssClass="validators"></asp:RequiredFieldValidator>
                                                                                                                                            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender16" runat="server" TargetControlID="RequiredFieldValidator15">
                                                                                                                                            </asp:ValidatorCalloutExtender>
                                                                                                                                        </td>
                                                                                                                                    </tr>
                                                                                                                                    <tr>
                                                                                                                                        <td class="Label" align="left">
                                                                                                                                            Valid Till: <span class="SpnColor">*</span>
                                                                                                                                        </td>
                                                                                                                                        <td>
                                                                                                                                            <asp:TextBox ID="txtEdtValidTill" runat="server"></asp:TextBox>
                                                                                                                                            <asp:CalendarExtender ID="CalendarExtender6" runat="server" TargetControlID="txtEdtValidTill">
                                                                                                                                            </asp:CalendarExtender>
                                                                                                                                            <asp:RequiredFieldValidator ValidationGroup="edit" ID="RequiredFieldValidator16"
                                                                                                                                                runat="server" Display="None" ControlToValidate="txtEdtValidTill" ErrorMessage="Please, Enter Valid from date"
                                                                                                                                                CssClass="validators"></asp:RequiredFieldValidator>
                                                                                                                                            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender17" runat="server" TargetControlID="RequiredFieldValidator16">
                                                                                                                                            </asp:ValidatorCalloutExtender>
                                                                                                                                        </td>
                                                                                                                                    </tr>
                                                                                                                                    <tr>
                                                                                                                                        <td class="Label " align="left">
                                                                                                                                            Email Id<span class="SpnColor">*</span>
                                                                                                                                        </td>
                                                                                                                                        <td align="left">
                                                                                                                                            <asp:TextBox ID="txtEdtEmail" runat="server"></asp:TextBox>
                                                                                                                                            <asp:RegularExpressionValidator ValidationGroup="edit" ID="RegularExpressionValidator2"
                                                                                                                                                runat="server" ErrorMessage="Invalid Email" ControlToValidate="txtEdtEmail" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
                                                                                                                                                Display="None"></asp:RegularExpressionValidator>
                                                                                                                                            <asp:RequiredFieldValidator ValidationGroup="edit" ID="RequiredFieldValidator17"
                                                                                                                                                runat="server" Display="None" ControlToValidate="txtEdtEmail" ErrorMessage="Please, Enter Email"
                                                                                                                                                CssClass="validators"></asp:RequiredFieldValidator>
                                                                                                                                            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender18" runat="server" TargetControlID="RequiredFieldValidator17">
                                                                                                                                            </asp:ValidatorCalloutExtender>
                                                                                                                                            <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender19" runat="server" TargetControlID="RegularExpressionValidator2">
                                                                                                                                            </asp:ValidatorCalloutExtender>
                                                                                                                                        </td>
                                                                                                                                    </tr>
                                                                                                                                </table>
                                                                                                                            </fieldset>
                                                                                                                        </td>
                                                                                                                    </tr>
                                                                                                                    <tr>
                                                                                                                        <td colspan="4">
                                                                                                                            <fieldset>
                                                                                                                                <legend>References</legend>
                                                                                                                                <table width="450px" border="0" cellpadding="3" cellspacing="0" style="margin-left: 20px">
                                                                                                                                    <tr>
                                                                                                                                        <td style="width: 180px;" class="Label " align="left">
                                                                                                                                            Reference Name:
                                                                                                                                        </td>
                                                                                                                                        <td align="left">
                                                                                                                                            <asp:TextBox ID="txtEdtRefName" runat="server" MaxLength="50" Width="150px"></asp:TextBox>
                                                                                                                                        </td>
                                                                                                                                    </tr>
                                                                                                                                    <tr>
                                                                                                                                        <td style="width: 180px;" class="Label " align="left">
                                                                                                                                            Reference Contact:
                                                                                                                                        </td>
                                                                                                                                        <td align="left">
                                                                                                                                            <asp:TextBox ID="txtEdtRefCon" runat="server" MaxLength="50" Width="150px" onkeypress="return isNumberKey(event)"></asp:TextBox>
                                                                                                                                        </td>
                                                                                                                                    </tr>
                                                                                                                                </table>
                                                                                                                            </fieldset>
                                                                                                                        </td>
                                                                                                                    </tr>
                                                                                                                    <tr>
                                                                                                                        <td colspan="2" align="center">
                                                                                                                            <asp:Button ValidationGroup="edit" ID="ButtonUpdate" CausesValidation="true" CssClass="btnsubmit"
                                                                                                                                runat="server" Text="Update" OnClick="update" />
                                                                                                                        </td>
                                                                                                                    </tr>
                                                                                                                </table>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                    </table>
                                                                                                </asp:Panel>
                                                                                            </td>
                                                                                        </tr>
                                                                                    </table>
                                                                                </ContentTemplate>
                                                                            </asp:UpdatePanel>
                                                                        </td>
                                                                    </tr>
                                                                </table>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </div>
        </center>
    </div>
    </form>
</body>
</html>
